$OpenBSD: patch-src_tests_eina_bench_quad_c,v 1.2 2012/11/10 15:01:15 stsp Exp $
--- src/tests/eina_bench_quad.c.orig	Sat Sep  8 04:33:29 2012
+++ src/tests/eina_bench_quad.c	Fri Nov  9 00:57:06 2012
@@ -175,10 +175,20 @@ eina_bench_quadtree_render_loop(int request)
    Eina_Mempool *mp;
    int i;
    int j;
+   const char *choice, *tmp;
 
    eina_init();
 
-   mp = eina_mempool_add("chained_mempool", "bench-quad", NULL,
+#ifdef EINA_DEFAULT_MEMPOOL
+   choice = "pass_through";
+#else
+   choice = "chained_mempool";
+#endif
+   tmp = getenv("EINA_MEMPOOL");
+   if (tmp && tmp[0])
+      choice = tmp;
+
+   mp = eina_mempool_add(choice, "bench-quad", NULL,
                          sizeof (Eina_Bench_Quad), 320);
 
    q = eina_quadtree_new(WIDTH, HEIGHT,
